cc = arm-linux-gnueabi-gcc
CFLAGS = --static --sysroot="/usr/arm-linux-gnueabi/" -mcpu=cortex-a15 -mfpu=neon -mfloat-abi=softfp

.PHONY: all

all: test

test: Conv.o Conv_old.o test.c
	$(cc) test.c Conv.o -o test $(CFLAGS)
Conv.o: Conv.s
	$(cc) -c Conv.s $(CFLAGS)
Conv_old.o: Conv_old.s
	$(cc) -c Conv_old.s $(CFLAGS)

.PHONY: clean
clean:
	rm -rf *.o test
